package net.maku.qdd.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 优惠券VO
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Data
@Schema(description = "优惠券")
public class TicketVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "券id")
    private Integer ticketId;

    @Schema(description = "券码")
    private Integer ticketCode;

    @Schema(description = "商品id")
    private Integer goodsId;

    @Schema(description = "商家id")
    private Integer merchantId;

    @Schema(description = "优惠额度")
    private Float preferential;

    @Schema(description = "使用限制")
    private Integer limitation;

    @Schema(description = "过期时间")
    private LocalDateTime deadTime;

    @Schema(description = "生效时间")
    private LocalDateTime effectiveTime;
}
